package org.grow.mpgo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.time.LocalDateTime;

/**
 * @Author: xwg
 * @CreateDate: 21-7-12
 */
@RestController
public class TestController {
//    post get put delete
    @GetMapping("/testMvc")
    public LocalDateTime testMvc(int day){

        return LocalDateTime.now().minusDays(day);
    }
//    mybatis 对接老工程 jpa  开发新工程
//    mybatis-plus     query-dsl


}
